package org.example.dao;
import org.example.model.book;
import java.util.List;

public interface BookDao {
    boolean isExistById(String id);

    int insert(book t);

    int delete(String id);

    int deleteAll();

    int update(book t);

    book queryById(String id);

    List<book> queryByName(String name);

    List<book> queryAll();
}
